Optimal. Leaf size=518 \[ \frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {e-c^2 d}}\right )}{2 (-d)^{3/2}}-\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {e-c^2 d}}+1\right )}{2 (-d)^{3/2}}+\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e-c^2 d}+\sqrt {e}}\right )}{2 (-d)^{3/2}}-\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e-c^2 d}+\sqrt {e}}+1\right )}{2 (-d)^{3/2}}-\frac {a}{d x}-\frac {b \sqrt {e} \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {e-c^2 d}}\right )}{2 (-d)^{3/2}}+\frac {b \sqrt {e} \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {e-c^2 d}}\right )}{2 (-d)^{3/2}}-\frac {b \sqrt {e} \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}+\sqrt {e-c^2 d}}\right )}{2 (-d)^{3/2}}+\frac {b \sqrt {e} \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}+\sqrt {e-c^2 d}}\right )}{2 (-d)^{3/2}}+\frac {b c \sqrt {\frac {1}{c^2 x^2}+1}}{d}-\frac {b \text {csch}^{-1}(c x)}{d x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.06, antiderivative size = 518, normalized size of antiderivative = 1.00, number of steps used = 24, number of rules used = 10, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.476, Rules used = {6304, 5791, 5653, 261, 5706, 5799, 5561, 2190, 2279, 2391} \[ -\frac {b \sqrt {e} \text {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {e-c^2 d}}\right )}{2 (-d)^{3/2}}+\frac {b \sqrt {e} \text {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {e-c^2 d}}\right )}{2 (-d)^{3/2}}-\frac {b \sqrt {e} \text {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e-c^2 d}+\sqrt {e}}\right )}{2 (-d)^{3/2}}+\frac {b \sqrt {e} \text {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e-c^2 d}+\sqrt {e}}\right )}{2 (-d)^{3/2}}+\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {e-c^2 d}}\right )}{2 (-d)^{3/2}}-\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {e-c^2 d}}+1\right )}{2 (-d)^{3/2}}+\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e-c^2 d}+\sqrt {e}}\right )}{2 (-d)^{3/2}}-\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e-c^2 d}+\sqrt {e}}+1\right )}{2 (-d)^{3/2}}-\frac {a}{d x}+\frac {b c \sqrt {\frac {1}{c^2 x^2}+1}}{d}-\frac {b \text {csch}^{-1}(c x)}{d x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 261
Rule 2190
Rule 2279
Rule 2391
Rule 5561
Rule 5653
Rule 5706
Rule 5791
Rule 5799
Rule 6304
Rubi steps
\begin {align*} \int \frac {a+b \text {csch}^{-1}(c x)}{x^2 \left (d+e x^2\right )} \, dx &=-\operatorname {Subst}\left (\int \frac {x^2 \left (a+b \sinh ^{-1}\left (\frac {x}{c}\right )\right )}{e+d x^2} \, dx,x,\frac {1}{x}\right )\\ &=-\operatorname {Subst}\left (\int \left (\frac {a+b \sinh ^{-1}\left (\frac {x}{c}\right )}{d}-\frac {e \left (a+b \sinh ^{-1}\left (\frac {x}{c}\right )\right )}{d \left (e+d x^2\right )}\right ) \, dx,x,\frac {1}{x}\right )\\ &=-\frac {\operatorname {Subst}\left (\int \left (a+b \sinh ^{-1}\left (\frac {x}{c}\right )\right ) \, dx,x,\frac {1}{x}\right )}{d}+\frac {e \operatorname {Subst}\left (\int \frac {a+b \sinh ^{-1}\left (\frac {x}{c}\right )}{e+d x^2} \, dx,x,\frac {1}{x}\right )}{d}\\ &=-\frac {a}{d x}-\frac {b \operatorname {Subst}\left (\int \sinh ^{-1}\left (\frac {x}{c}\right ) \, dx,x,\frac {1}{x}\right )}{d}+\frac {e \operatorname {Subst}\left (\int \left (\frac {a+b \sinh ^{-1}\left (\frac {x}{c}\right )}{2 \sqrt {e} \left (\sqrt {e}-\sqrt {-d} x\right )}+\frac {a+b \sinh ^{-1}\left (\frac {x}{c}\right )}{2 \sqrt {e} \left (\sqrt {e}+\sqrt {-d} x\right )}\right ) \, dx,x,\frac {1}{x}\right )}{d}\\ &=-\frac {a}{d x}-\frac {b \text {csch}^{-1}(c x)}{d x}+\frac {b \operatorname {Subst}\left (\int \frac {x}{\sqrt {1+\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )}{c d}+\frac {\sqrt {e} \operatorname {Subst}\left (\int \frac {a+b \sinh ^{-1}\left (\frac {x}{c}\right )}{\sqrt {e}-\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{2 d}+\frac {\sqrt {e} \operatorname {Subst}\left (\int \frac {a+b \sinh ^{-1}\left (\frac {x}{c}\right )}{\sqrt {e}+\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{2 d}\\ &=\frac {b c \sqrt {1+\frac {1}{c^2 x^2}}}{d}-\frac {a}{d x}-\frac {b \text {csch}^{-1}(c x)}{d x}+\frac {\sqrt {e} \operatorname {Subst}\left (\int \frac {(a+b x) \cosh (x)}{\frac {\sqrt {e}}{c}-\sqrt {-d} \sinh (x)} \, dx,x,\text {csch}^{-1}(c x)\right )}{2 d}+\frac {\sqrt {e} \operatorname {Subst}\left (\int \frac {(a+b x) \cosh (x)}{\frac {\sqrt {e}}{c}+\sqrt {-d} \sinh (x)} \, dx,x,\text {csch}^{-1}(c x)\right )}{2 d}\\ &=\frac {b c \sqrt {1+\frac {1}{c^2 x^2}}}{d}-\frac {a}{d x}-\frac {b \text {csch}^{-1}(c x)}{d x}+\frac {\sqrt {e} \operatorname {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {-c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {csch}^{-1}(c x)\right )}{2 d}+\frac {\sqrt {e} \operatorname {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {-c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {csch}^{-1}(c x)\right )}{2 d}+\frac {\sqrt {e} \operatorname {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {-c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {csch}^{-1}(c x)\right )}{2 d}+\frac {\sqrt {e} \operatorname {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {-c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {csch}^{-1}(c x)\right )}{2 d}\\ &=\frac {b c \sqrt {1+\frac {1}{c^2 x^2}}}{d}-\frac {a}{d x}-\frac {b \text {csch}^{-1}(c x)}{d x}+\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}-\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}+\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}+\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}-\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}+\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}-\frac {\left (b \sqrt {e}\right ) \operatorname {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {-c^2 d+e}}{c}}\right ) \, dx,x,\text {csch}^{-1}(c x)\right )}{2 (-d)^{3/2}}+\frac {\left (b \sqrt {e}\right ) \operatorname {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {-c^2 d+e}}{c}}\right ) \, dx,x,\text {csch}^{-1}(c x)\right )}{2 (-d)^{3/2}}-\frac {\left (b \sqrt {e}\right ) \operatorname {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {-c^2 d+e}}{c}}\right ) \, dx,x,\text {csch}^{-1}(c x)\right )}{2 (-d)^{3/2}}+\frac {\left (b \sqrt {e}\right ) \operatorname {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {-c^2 d+e}}{c}}\right ) \, dx,x,\text {csch}^{-1}(c x)\right )}{2 (-d)^{3/2}}\\ &=\frac {b c \sqrt {1+\frac {1}{c^2 x^2}}}{d}-\frac {a}{d x}-\frac {b \text {csch}^{-1}(c x)}{d x}+\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}-\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}+\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}+\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}-\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}+\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}-\frac {\left (b \sqrt {e}\right ) \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {-c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {csch}^{-1}(c x)}\right )}{2 (-d)^{3/2}}+\frac {\left (b \sqrt {e}\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {-c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {csch}^{-1}(c x)}\right )}{2 (-d)^{3/2}}-\frac {\left (b \sqrt {e}\right ) \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {-c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {csch}^{-1}(c x)}\right )}{2 (-d)^{3/2}}+\frac {\left (b \sqrt {e}\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {-c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {csch}^{-1}(c x)}\right )}{2 (-d)^{3/2}}\\ &=\frac {b c \sqrt {1+\frac {1}{c^2 x^2}}}{d}-\frac {a}{d x}-\frac {b \text {csch}^{-1}(c x)}{d x}+\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}-\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}+\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}+\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}-\frac {\sqrt {e} \left (a+b \text {csch}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}+\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}-\frac {b \sqrt {e} \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}+\frac {b \sqrt {e} \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}-\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}-\frac {b \sqrt {e} \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}+\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}+\frac {b \sqrt {e} \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {csch}^{-1}(c x)}}{\sqrt {e}+\sqrt {-c^2 d+e}}\right )}{2 (-d)^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 1.69, size = 1211, normalized size = 2.34 \[ \text {result too large to display} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.04, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b \operatorname {arcsch}\left (c x\right ) + a}{e x^{4} + d x^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {b \operatorname {arcsch}\left (c x\right ) + a}{{\left (e x^{2} + d\right )} x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 2.76, size = 0, normalized size = 0.00 \[ \int \frac {a +b \,\mathrm {arccsch}\left (c x \right )}{x^{2} \left (e \,x^{2}+d \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -a {\left (\frac {e \arctan \left (\frac {e x}{\sqrt {d e}}\right )}{\sqrt {d e} d} + \frac {1}{d x}\right )} + b \int \frac {\log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} + \frac {1}{c x}\right )}{e x^{4} + d x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {a+b\,\mathrm {asinh}\left (\frac {1}{c\,x}\right )}{x^2\,\left (e\,x^2+d\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {a + b \operatorname {acsch}{\left (c x \right )}}{x^{2} \left (d + e x^{2}\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________